class CreateRoles < ActiveRecord::Migration

  def self.up
    create_table :roles, :force => true do |t|
      t.string :name, :null => false, :limit => 64
      t.string :description, :limit => 255
      t.references :authorizable, :polymorphic => true
      t.timestamps
    end
  end

  def self.down
    drop_table :roles
  end

end
